package com.ruoyi.tool.service.impl;

import com.ruoyi.data.DataUtils;
import com.ruoyi.tool.domain.HouseRateToolT;
import com.ruoyi.tool.mapper.HouseRateToolTMapper;
import com.ruoyi.tool.service.IHouseRateToolTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.List;

/**
 * 利息分摊Service业务层处理
 * 
 * @author lijie
 * @date 2023-08-04
 */
@Service
public class HouseRateToolTServiceImpl implements IHouseRateToolTService
{
    @Autowired
    private HouseRateToolTMapper houseRateTMapper;

    @Override
    public HouseRateToolT getRateYear()
    {
        return houseRateTMapper.getRateYear();
    }

    /**
     * 新增利息分摊
     * 
     * @param houseRateT 利息分摊
     * @return 结果
     */
    @Override
    public HouseRateToolT getInterestTool(HouseRateToolT houseRateT)
    {

        return houseRateTMapper.getInterestTool(houseRateT);
    }

}
